﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Rodunu.Movies.Services.Models.Netflix;
using Rodunu.Movies.Services.NetFlix.DataProvider.NFService;
using AtHome=Rodunu.Movies.Services.Models.Netflix.AtHome;

namespace Rodunu.Movies.Services.NetFlix.DataProvider.Logic
{
    public class NetflixLogic
    {
        //public Queue GetQueue(INetflixService service, int startIndex, int maxResults)
        //{
        //    return QueueDal.GetDiscQueue(service, startIndex, maxResults);
        //}

        //public AtHome GetAtHome(INetflixService service, int startIndex)
        //{
        //    return QueueDal.GetMoviesAtHome(service, startIndex);
        //}

        //public CatalogList SearchTitles(INetflixService service, string term, int startIndex, int maxResults)
        //{
        //    return CatalogDal.SearchTitles(service, term, startIndex, maxResults);
        //}

        //public CatalogTitle GetTitleDetails(INetflixService service, string netflixId)
        //{
        //    //CatalogDal.GetTitleDetails(service, service.GetTitleDetails(netflixId));
        //    return (CatalogTitle)SerializationHelper.FromXml(typeof(CatalogTitle), service.GetTitleDetails(netflixId));
        //}

        //public CatalogList GetSimilars(INetflixService service, Item item, int startIndex, int maxResults)
        //{
        //    return CatalogDal.GetSimilars(service, item, startIndex, maxResults);
        //}

        //public CatalogList GetSeries(INetflixService service, Item item, int startIndex, int maxResults)
        //{
        //    return CatalogDal.GetSeries(service, item, startIndex, maxResults);
        //}

        //public CatalogList GetEpisodes(INetflixService service, Item item, int startIndex, int maxResults)
        //{
        //    return CatalogDal.GetEpisodes(service, item, startIndex, maxResults);
        //}
    }
}
